import 'dart:convert';
import 'package:flutter_app/generated/json/base/json_field.dart';
import 'package:flutter_app/generated/json/app_set_info_entity.g.dart';

@JsonSerializable()
class AppSetInfoEntity {
  String? agreement;
  String? android;
  String? film;
  String? integral;
  String? ios;
  String? permission;
  String? pinState; // 默认0 不开启  1开启

  AppSetInfoEntity();

  factory AppSetInfoEntity.fromJson(Map<String, dynamic> json) => $AppSetInfoEntityFromJson(json);

  Map<String, dynamic> toJson() => $AppSetInfoEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
